package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 小程序消息事件记录
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mini_program_event")
public class MiniProgramEvent extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 事件ID
     */
    @TableField("event_id")
    private Long eventId;
    /**
     * 事件值
     */
    @TableField("event_value")
    private String eventValue;
    /**
     * 事件的表单ID
     */
    @TableField("form_id")
    private String formId;
    /**
     * 事件时间
     */
    @TableField("event_time")
    private LocalDateTime eventTime;
    /**
     * FormId过期时间
     */
    @TableField("expire_time")
    private LocalDateTime expireTime;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
